package com.gopay.common.domain.riskcontrol;

import java.util.Date;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;

import com.gopay.common.domain.BaseEntity;


/**
 * 
 * @RcComRuleThresholdRel.java
 * @author dongdh
 * @2016年1月18日 下午12:01:39  www.gopay.com.cn Inc.All rights reserved.
 */
@Entity
@Table(name="RC_COM_RULE_THRESHOLD_REL")
public class RcComRuleThresholdRel  extends BaseEntity {
	private static final long serialVersionUID = 1L;

	@Id
	//@SequenceGenerator(name="RC_COM_RULE_THRESHOLD_REL_ID_GENERATOR", sequenceName="RC_COM_RULE_THRESHOLD_REL_SEQ")
	//@GeneratedValue(strategy=GenerationType.SEQUENCE, generator="RC_COM_RULE_THRESHOLD_REL_ID_GENERATOR")
	private long id;

	@Column(name="CREATED_TS")
	private Date createdTs;

	@Column(name="RULE_ID")
	private Long ruleId;

	@Column(name="THRESHOLD_ID")
	private Long thresholdId;

	public RcComRuleThresholdRel() {
	}

	public long getId() {
		return this.id;
	}

	public void setId(long id) {
		this.id = id;
	}

    public Date getCreatedTs() {
        return createdTs;
    }

    public void setCreatedTs(Date createdTs) {
        this.createdTs = createdTs;
    }

    public Long getRuleId() {
        return ruleId;
    }

    public void setRuleId(Long ruleId) {
        this.ruleId = ruleId;
    }

    public Long getThresholdId() {
        return thresholdId;
    }

    public void setThresholdId(Long thresholdId) {
        this.thresholdId = thresholdId;
    }


}